cmake_minimum_required(VERSION 3.20.0)

project(CustomOllvmPass)

# set(LLVM_DIR /Users/aserlili/Documents/Codes/llvm-build/build/Clion/Debug/lib/cmake/llvm/)

# find_package(LLVM REQUIRED CONFIG)

# list(APPEND CMAKE_MODULE_PATH "${LLVM_CMAKE_DIR}")
# include(AddLLVM)

# separate_arguments(LLVM_DEFINITIONS_LIST NATIVE_COMMAND ${LLVM_DEFINITIONS})
# add_definitions(${LLVM_DEFINITIONS_LIST})
# include_directories(${LLVM_INCLUDE_DIRS})

# # 设置 C++ 标准版本
# set(CMAKE_CXX_STANDARD 17)
# set(CMAKE_CXX_STANDARD_REQUIRED ON)

add_subdirectory(CustomOllvm)
